<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五星图</title>
    <style>
        div {
            border: solid 5px red;
            background-color: #d4f1cd;
            width: 400px;
            height: 300px;
            margin: auto;
        }

        div {
            background-image:
                url(./紫星.png), url(./蓝星.png), url(./蓝星.png), url(./蓝星.png), url(./蓝星.png);
            background-repeat: no-repeat;
            background-position: center, left 5% top 5%, top 5% right 5%, bottom 5% left 5%, bottom 5% right 5%;
        }

        p {
            text-align: center;
            padding-top: 70px;
        }
    </style>
</head>

<body>
    <div>
        <p style="color: red;">为啥一个兵，爱护老百姓</p>
    </div>
</body>

</html>